<?php
class Author extends AppModel{
	public $hasMany = array('Video');
	public $validate = array(
		'email'   => array(
			'email'		=> array(
				'rule'      => 'email',
				'message'   => 'Debe ingresar un correo valido'
			),
			'isUnique'	=> array(
				'rule'      => 'isUnique',
				'message'   => 'El correo ya existe'
			)
        )
	);
}
?>